<?php
include "../proses/konek.php";
$query=mysql_query("SELECT * FROM posting");
while($hasil=mysql_fetch_assoc($query))
{
	if ($hasil['kelas']!=null) {
		
	echo "<option value=".$hasil['kelas'].">".$hasil['kelas']."</option>";
	}
	
}

?>